package com.jifeng.sterilizer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jifeng.sterilizer.entity.UserEntity;
import com.jifeng.sterilizer.utils.PageUtils;
import com.jifeng.sterilizer.utils.R;

import java.util.Map;

/**
 * 用户表
 *
 * @author jifeng
 * @email 1593140625@qq.com
 * @date 2020-07-26 16:33:58
 */
public interface UserService extends IService<UserEntity> {

    PageUtils queryPage(Map<String, Object> params);

    R register(UserEntity user);

    R resetPassword(Map<String, Object> params);

    R pcLogin(Map<String, Object> params);

    R add(UserEntity userEntity);

    R reset(UserEntity userEntity);

    R del(Map<String, Object> params);

    R addFarmUser(Map<String, Object> params);

    R resetFarmUser(UserEntity userEntity);

    R delFarmUser(Map<String, Object> params);

    R addPhoneUser(UserEntity userEntity);

    R resetPhoneUser(UserEntity userEntity);

    R delPhoneUser(Map<String, Object> params);

    R resetStatus(UserEntity userEntity);

    PageUtils pcQueryPage(Map<String, Object> params);

    R addPcUser(UserEntity userEntity);

    R resetPcUser(UserEntity userEntity);

    R delPcUser(Map<String, Object> params);

    R updatePassword(UserEntity userEntity);
}

